﻿<div >
    <input id="{{id}}_value" ng-model="searchStr" type="text" placeholder="{{placeholder}}" class="{{inputClass}}"
           style="width: 400px; "
           onmouseup="this.select();" ng-focus="resetHideResults()" ng-blur="hideResults()" />

    <div id="{{id}}_dropdown" style="position: relative; position: absolute; overflow: auto" ng-if="showDropdown">
        <div  ng-show="searching">Procurando...</div>
        <div ng-show="!searching && (!results || results.length == 0)">No results found</div>
        <div ng-show="!searching && (!results || results.length > 0)" style="background-color: white">
           @RenderBody()
        </div>

    </div>
</div>

